package com.dlxs.studyproject.ui.home;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;


import androidx.recyclerview.widget.RecyclerView;

import com.dlxs.studyproject.R;


public class ItemReleaseImgHolder extends RecyclerView.ViewHolder {
    private ImageView ivReleaseImg;
    private ImageView ivDeleteImage;

    public ItemReleaseImgHolder(LayoutInflater inflater, ViewGroup parent) {
        this(inflater.inflate(R.layout.item_release_img, parent, false));
    }

    public ItemReleaseImgHolder(View view) {
        super(view);
        ivReleaseImg = (ImageView) view.findViewById(R.id.iv_release_img);
        ivDeleteImage = (ImageView) view.findViewById(R.id.iv_delete_image);
    }

    public ImageView getIvReleaseImg() {
        return ivReleaseImg;
    }

    public ImageView getIvDeleteImage() {
        return ivDeleteImage;
    }
}